//
//  LOLDetailheroModel.m
//  LOLXXbox
//
//  Created by mac on 16/2/27.
//  Copyright © 2016年 Grasstrio. All rights reserved.
//

#import "LOLDetailheroModel.h"

@implementation LOLDetailheroModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
    if ([key isEqualToString:@"description"])
    {
        self.descriptionss=value;
    }
    
    else if ([key hasSuffix:@"_B"]) {
        self.skillB=value;
    }
    else if ([key hasSuffix:@"_Q"]) {
        self.skillQ=value;
    }
    
    else if ([key hasSuffix:@"_W"]) {
        self.skillW=value;
    }
    
    else if ([key hasSuffix:@"_E"]) {
        self.skillE=value;
    }
    
    else if ([key hasSuffix:@"_R"]) {
        self.skillR=value;
    }
    
    else if ([key isEqualToString:@"id"]) {
        self.typeId=value;
    }
    
}
@end
